import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    islogin:false,
    mylist:[],
    orderlist:[]
  },
  mutations: {
    addshow(state,action){
    state.mylist.push(action.data)
    },
    myorder(state,action){
      state.orderlist.push(action.data)
    }
  },
  actions: {
  },
  modules: {
  }
})
